package com.ds.applet.domain;

import com.ds.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 图标对象 mini_icon
 *
 * @author liucan
 * @date 2024-03-25
 */

@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class MiniIcon implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 图标名称
     */
    @Excel(name = "图标名称")
    private String icName;

    /**
     * 图标地址
     */
    @Excel(name = "图标地址")
    private String icUrl;

    /**
     * 位置 0底部 1中部
     */
    private Long icPosition;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    private String creationTime;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String creationBy;

    /**
     * 是否使用 0使用 1不使用
     */
    @Excel(name = "是否使用 0使用 1不使用")
    private Long icUse;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    /**
     * 所属小程序
     */
    @Excel(name = "所属小程序")
    private String toApplet;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIcName() {
        return icName;
    }

    public void setIcName(String icName) {
        this.icName = icName;
    }

    public String getIcUrl() {
        return icUrl;
    }

    public void setIcUrl(String icUrl) {
        this.icUrl = icUrl;
    }

    public Long getIcPosition() {
        return icPosition;
    }

    public void setIcPosition(Long icPosition) {
        this.icPosition = icPosition;
    }

    public String getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(String creationTime) {
        this.creationTime = creationTime;
    }

    public String getCreationBy() {
        return creationBy;
    }

    public void setCreationBy(String creationBy) {
        this.creationBy = creationBy;
    }

    public Long getIcUse() {
        return icUse;
    }

    public void setIcUse(Long icUse) {
        this.icUse = icUse;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getToApplet() {
        return toApplet;
    }

    public void setToApplet(String toApplet) {
        this.toApplet = toApplet;
    }

    @Override
    public String toString() {
        return "MiniIcon{" +
                "id=" + id +
                ", icName='" + icName + '\'' +
                ", icUrl='" + icUrl + '\'' +
                ", icPosition=" + icPosition +
                ", creationTime='" + creationTime + '\'' +
                ", creationBy='" + creationBy + '\'' +
                ", icUse=" + icUse +
                ", remark='" + remark + '\'' +
                ", toApplet='" + toApplet + '\'' +
                '}';
    }
}
